package com.wyyx.services;

import java.util.UUID;

import com.wyyx.dao.OrderDaoImpl;

/**
 * 添加订单业务层
 * 
 * @author zzd19
 *
 */
public class OrderAddServices {
    /**
     * 添加订单
     * 
     * @param orderUserId
     * @param orderAddress
     * @param orderUser
     * @return
     */
	public String orderAdd(String orderUserId, String orderPrice) {
		OrderDaoImpl orderDaoImpl = new OrderDaoImpl();
		//GoodsOrderDaoImpl goodsOrderDaoImpl = new GoodsOrderDaoImpl();
		String orderId = UUID.randomUUID().toString();
		orderDaoImpl.orderAdd(orderId, orderUserId, orderPrice);
		return orderId;
	}
}
